# -*- coding: utf-8 -*-
"""This module provides the generic sidebar object types"""

from django.db import models

class RecurringSidebar(models.Model):
    slug = models.SlugField(prepopulate_from=('title',))
    title = models.CharField(max_length=255)
    subtitle = models.CharField(max_length=255, null=True, blank=True)
    text = models.TextField()

    __uri__ = r'/recurring-sidebar/(?P<slug>\w+)/'

    class Admin:
        pass

    
